<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:include page="/admin/view/main/header.jsp"/>

<!-- business code start -->

<form id="frm_login_user" action="index.html" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
	<input type="hidden" name="uuid" id="uu_id">
    <tr>
        <td width="10%" class="tableleft">登录名</td>
        <td><input type="text" name="userName" id="user_name"/></td>
    </tr>
    <tr>
        <td class="tableleft">密码</td>
        <td><input type="password" name="password" id="pass_word"/></td>
    </tr>
    <tr>
        <td class="tableleft">QQ</td>
        <td><input type="text" name="qqName" id="qq_name"/></td>
    </tr>
    <tr>
        <td class="tableleft">用户电话</td>
        <td><input type="text" name="phone" id="ph_one"/></td>
    </tr>
    <tr>
        <td class="tableleft">备用电话</td>
        <td><input type="text" name="telephone" id="tele_phone"/></td>
    </tr>
    <tr>
        <td class="tableleft">商店收录权限</td>
        <td>
            <input type="radio" id="userpower_1" name="userPower" value="1" checked="checked"/> 启用
           <input type="radio" id="userpower_0" name="userPower" value="0"/> 禁用
        </td>
    </tr>
        <tr>
        <td class="tableleft">积分</td>
        <td><input type="text" name="score" id="user_score"/></td>
    </tr>
    <tr>
        <td class="tableleft">用户类型</td>
        <td>
        	<select name="userType" id="user_type">
        		<option value = '1'>管理员</option>
        		<option value = '2'>普通用户</option>
        	</select>
        </td>
    </tr>
    
    <tr>
        <td class="tableleft"></td>
        <td>
            <button id="tbn_update" type="button" class="btn btn-primary" type="button">修改</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>
<!-- business code end -->

<jsp:include page="/admin/view/main/footer.jsp"/>

<script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="<%=request.getContextPath()%>/admin/view/system/user/userlist.jsp";
		 });

    });
</script>

<script src="<%=request.getContextPath()%>/admin/js/business/system/user/user.js"></script>
